<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[#assign path = var_contextpath + var_resrootpath + "/" + var_syscfg.sscTemplate/]
[#include "../inc/goods/goodsBox.html"]
[#include "../inc/common/groupTree.html"]
[#include "../inc/common/pager.html"]
[#include "../inc/common/articleListPM.html"]
[#include "../inc/common/articleGroupList.html"]

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>站内快讯列表</title>
		<link rel="stylesheet" type="text/css" href="${path}/css/style.css" />
	</head>
	
	<body>
		[#include "../inc/common/head.html"]
		<div class="block box">
		 <div id="ur_here">
		   当前位置: <a href="${var_contextpath}/index.xhtml">首页</a> <code>&gt;</code>${(var_articleGroup.bagName) ! "文章列表"}</div>
		</div>
		<div class="blank"></div>
		<div class="block clearfix">
		   <div class="AreaL">
			  [#-- 读取商品分类数据的自定义标签，参数：par_treeid 选择分类ID。--]
			  [#if var_member??]
				  [#assign var_memberid = var_member.bmbId]
			  [#else]
				  [#assign var_memberid = var_memberid]
			  [/#if]
			
			  [@ecs_cartinfo par_memberid = var_memberid]
				  <div class="cart" id="ECS_CARTINFO">
					  <a href="${var_contextpath}/order/cartorder.xhtml" title="查看购物车">您的购物车中有 ${var_cartgoodsnum!'0'} 件商品，总计金额 ￥${var_carttotalprice!'0.00'}元。</a>
				  </div>
			  [/@ecs_cartinfo]
			  <div class="blank5"></div>
			  <div class="box">
				  [#-- 读取商品分类数据的自定义标签，参数：par_treeid 选择分类ID。--]
				  [@ecs_classified par_treeid = "0"]
					  [@ecs_grouptreeroot par_datalist = var_grouplist/]
				  [/@ecs_classified]		
			  </div>
			  <div class="blank5"></div>
		 	  <div class="box">
		 		  <div class="box_1">
			  		  <h3><span>文章分类</span></h3>
			  		  <div class="boxCenterList RelaArticle">
			  		  	  [#-- 读取站内快讯分类列表自定义标签。--]
					      [@ecs_articlegrouplist]
					      	[#if var_articleGroupList ??]
					      		[#-- 读取站内快讯分类列表自定义宏。--]
					      		[@ecs_ud_articlegroups par_articleGroupList = var_articleGroupList/]
				  			[/#if]
					  	  [/@ecs_articlegrouplist]
			          </div>
			 	  </div>
			  </div>
		  	  <div class="blank5"></div>
		 	  <div class="box" id='history_div' style="display:none;">
		 	  	 <div class="box_1">
		  		  	<h3><span>浏览历史</span></h3>
		  		  	<div class="boxCenterList clearfix" id='history_list'></div>
			 	 </div>
		  	 </div>
		 	 <div class="blank5" style="display:none;"></div>
		   </div>
		
		   <div class="AreaR">
		       <div class="box">
			       <div class="box_1">
			    	   <h3><span>文章列表</span></h3>
			    	   <div class="boxCenterList">
			               <form action="${var_contextpath}/articles.xhtml" name="search_form" 
			            	    method="get" class="article_search">
					            <input name="baiTitle" type="text" id="requirement" class="inputBg" 
					        		value="${var_baiTitle ! ''}"/>
					        	<input type="submit" value="立即搜索" class="bnt_blue_1" />
				     	   </form>
				     	
			          		[#-- 读取站内快讯分页列表自定义标签。参数说明：par_baiGroup（登录会员ID），par_pagesize（分页大小），par_pageindex（当前页码）--]
					    		[@ecs_articlelistpm 
							    	par_baiGroup = var_baiGroup
							    	par_baiTitle = var_baiTitle
							    	par_pagesize = var_pagesize 
							    	par_pageindex = var_pageindex]
					    	
					    		[#-- 读取商品收藏列表自定义宏 --]
					 	   		[@ecs_ud_articlelistpm par_articleListPM = var_articleListPM /]
					 	
					     	[/@ecs_articlelistpm]
			    	   </div>
			   	   </div>
		  	   </div>
		  	   <div class="blank5"></div>
		  	   [#-- 读取分页标签。参数说明：par_total（总记录数），par_href（请求路径）--]
		  	   [@ecs_goodspager 
		  		   par_total = var_articleListPM.total 
			 	   par_href = "${var_contextpath}/articles.xhtml?baiGroup=${var_baiGroup ! ''}&baiTitle=${var_baiTitle ! ''}&"
				   par_pagesize = var_pagesize 
			 	   par_pageindex = var_pageindex 
		  	   /]
		   </div>
		   <div class="blank5"></div>
		</div>
		   [#include "../inc/common/help.html"]
		   [#include "../inc/common/bottomNav.html"]
		   [#include "../inc/common/footer.html"]
	</body>
</html>
